import React, { useState } from 'react'
export function Test2() {
    console.log('child2 刷新')
    const [count, setCount] = useState(0)
    return <div >122testdev {count}
        <button onClick={() => setCount(count + 1)}>click2</button>
    </div>
}